16 步:计算机精灵需要说出它的选择并将显示该选择的精灵移动到位。

  • 在图形中,转到.在第三个 if 语句之后拖出Say并将其不缩进。
  • .say()前面的变量名从sprite更改为computer
  • .say()中的字符串更改为"I choose " + computer_choice .
  • Go To拖到程序底部并将坐标更改为125 , 140 .

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)